package models

import "time"

type Model struct {
	ID        int8      `gorm:"primaryKey" json:"id"`
	CreatedAt time.Time `json:"createdAt"`
	UpdatedAt time.Time `json:"updatedAt"`
}
type PageInfo struct {
	Page  int    `form:"page"`
	Limit int    `form:"limit"`
	Key   string `form:"key"`
	Order string `form:"order"`
}

// DelIDList 根据id批量删除
type IDList struct {
	IDList []int8 `json:"id_list"`
}
